package com.ylr.basic.framework.feign.configuration;

import com.ylr.basic.framework.feign.fallback.YbAesClientFallback;
import com.ylr.basic.framework.feign.fallback.YbEphemeralDataClientFallback;
import org.springframework.context.annotation.Bean;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-05-12 10:27:10
 * className: ClientConfiguration
 * version: 1.0
 * description:
 */
public class ClientConfiguration {

    @Bean
    public YbAesClientFallback ybAesClientFallback() {
        return new YbAesClientFallback();
    }

    @Bean
    public YbEphemeralDataClientFallback ybEphemeralDataClientFallback() {
        return new YbEphemeralDataClientFallback();
    }
}
